﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace iLangl.LanguageWire.DAL.LanguageWireDAL.MockupStorage
{
	public class MockupDALFacade : IDALFacadeLW
	{
		ISettingsDAL _settingsDAL = null;
		public ISettingsDAL SettingsDAL
		{
			get 
			{
				if (_settingsDAL == null)
				{
					_settingsDAL = new MockupSettingsDAL();
				}

				return _settingsDAL;
			}
		}



		ICompanyDAL _companyDAL = null;
		public ICompanyDAL CompanyDAL
		{
			get 
			{
				if (_companyDAL == null)
				{
					_companyDAL = new MockupCompanyDAL();
				}

				return _companyDAL;
			}
		}


		IProjectDAL _projectDAL = null;
		public IProjectDAL ProjectDAL
		{
			get 
			{
				if (_projectDAL == null)
				{
					_projectDAL = new MockupProjectDAL();
				}

				return _projectDAL;
			}
		}

		private IContactDAL _contactDAL = null;
		public IContactDAL ContactDAL
		{
			get 
			{
				if (_contactDAL == null)
				{
					_contactDAL = new MockupContactDAL();
				}

				return _contactDAL;
			}
		}


		private IInvoiceDAL _invoiceDAL = null;
		public IInvoiceDAL InvoiceDAL
		{
			get 
			{
				if (_invoiceDAL == null)
				{
					_invoiceDAL = new MockupInvoiceDAL();
				}

				return _invoiceDAL;
			}
		}


		private ISynchronizationDAL _synchronizationDAL = null;
		public ISynchronizationDAL SynchronizationDAL
		{
			get 
			{
				if (_synchronizationDAL == null)
				{
					_synchronizationDAL = new MockupSyncrhonizationDAL();
				}

				return _synchronizationDAL;
			}
		}
	}
}
